package com.woniuxy.dao;

import com.woniuxy.entity.RbacPerm;
import com.woniuxy.entity.RbacRole;

import java.util.List;
import java.util.Set;

public interface RbacPermDao {
    List<RbacPerm> findAll();

    RbacPerm findOne(int id);

    int addOne(RbacPerm rbacPerm);

    int deleteOne(int id);

    int updateOne(RbacPerm rbacPerm);

    List<RbacPerm> search(String key, String key1);

    Set<String> findPermBySetRoles(String username);

}
